public class ShiYou {
public String name;
public int number;
public void Eat(){
    System.out.println(name+"正在吃东西");
}
public void PlayGames(){
    System.out.println(name+"正在打游戏");
}
public void Sleep(){
    System.out.println(name+"正在睡觉");
}
public void Check(){
    System.out.println(name+"抽烟被老师检查到，需要报学号，"+name+"的学号是"+number);
}
public ShiYou(){
    this.name = name;
    this.number = number;
}
public ShiYou(int number,String name){
    this.number = number;
    this.name = name;
}
public String getName(){
    return name;
}
public String setName(String name){
    this.name = name;
    return name;
}
}

